package com.emip.config;

import java.io.IOException;
import java.util.List;

import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;

import com.emip.bean.MenuDefBean;

public class SysConfig {

	private static SysConfig instance;
	
	private List<MenuDefBean> menu; 
	
	
		
	private SysConfig()
	{
		
	}
	
	public static synchronized SysConfig getInstance()
	{
		if (instance==null)
		    instance=new SysConfig();
		  return instance;  
	}

	public List<MenuDefBean> getMenu() {
		return menu;
	}

	public void setMenu(List<MenuDefBean> menu) {
		this.menu = menu;
	}

	public static void setInstance(SysConfig instance) {
		SysConfig.instance = instance;
	}
	
	
	
	
}
